var express = require('express'),
    swig = require('swig-templates'),
    request = require('request'),
    router = express.Router(),
    common = require('../base/common.js'),
    loginAuth = require('../base/login-auth.js');
router.get('/bind-product',function(req, res,next) {
    loginAuth.loginAuth(req,res,function (account) {
        var thatData={
            thatData:{
                u_id:req.cookies.u_id?req.cookies.u_id:'',
                p_id:req.cookies.p_id,
                tm:req.cookies.tm
            }
        }
        // console.log(thatData);
        res.render('my-haier/bind-product/bind-product',thatData);
    });
});
module.exports = router;